var Contact = function () {

    return {
        //main function to initiate the module
        init: function () {
            var map;
            $(document).ready(function () {
                map = new GMaps({
                    div: '#gmapbg',
                    lat: -13.004333,
                    lng: -38.494333
                });
                var marker = map.addMarker({
                    lat: -13.004333,
                    lng: -38.494333,
                    title: 'Loop, Inc.',
                    infoWindow: {
                        content: "<b>Metronic, Inc.</b> 795 Park Ave, Suite 120<br>San Francisco, CA 94107"
                    }
                });

                marker.infoWindow.open(map, marker);
            });
        }
    };

}();

jQuery(document).ready(function () {
    Contact.init();
});

